package org.fight;



import org.fight.protobuf.C2SFightMsg.ReqEndFight;
import org.fight.protobuf.C2SFightMsg.ReqEnterFight;
import org.fight.protobuf.C2SFightMsg.ReqOperateFight;
import org.fight.protobuf.C2SFightMsg.ReqPullNetFrame;

import com.sojoys.artifact.annotation.IModule;
import com.sojoys.artifact.exception.AbstractLogicModelException;

/**
 * 游戏客户端消息接收定义
 * 
 * @author SandKing
 * 
 */
public class NetWorkServert {

	@IModule(describe = "战斗", code = 100)
	class FightBO {
		@IModule(describe = "进入战斗", code = 1)
		public void enterFight(ReqEnterFight param) throws AbstractLogicModelException {
		}
		
		@IModule(describe = "开始战斗", code = 2 , push = true)
		public void startFight() throws AbstractLogicModelException {
		}
		
		@IModule(describe = "操作战斗", code = 3)
		public void operateFight(ReqOperateFight param) throws AbstractLogicModelException {
		}
		
		@IModule(describe = "通知网络帧", code = 4 , push = true)
		public void notifyNetFrame() throws AbstractLogicModelException {
		}
		
		@IModule(describe = "结束战斗", code = 5)
		public void endFight(ReqEndFight param) throws AbstractLogicModelException {
		}
		
		@IModule(describe = "拉取网络帧", code = 6)
		public void pullNetFrame(ReqPullNetFrame param) throws AbstractLogicModelException {
		}
	}
}
